package com.dzqc.fly.db.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@Schema(description = "撤销已处理的请假单表单类")
public class updateFinishedLeaveForm {
    @NotNull(message = "请假单ID不能为空")
    @Schema(description = "请假单ID")
    private String leave_id;

    @Size(min=1,max=100,message = "输入的撤销原因字数过多")
    @Schema(description = "撤销原因")
    private String revokes;
}
